<template>
  <div class="home">
    <div class="left-menu">
      <ul>
        <li>
          <router-link to="/">Home</router-link>
        </li>
        <li>
          <router-link to="/home/tree">tree</router-link>
        </li>
        <li>
          <router-link to="/home/asynctree">异步树</router-link>
        </li>
        <li>
          <router-link to="/home/magictree">magictree</router-link>
        </li>
        <li>
          <router-link to="/home/magictree2">magictree2</router-link>
        </li>
        <li>
          <router-link to="/home/bigtree">超大数据量tree</router-link>
        </li>
        <li>
          <router-link to="/home/simpledatatree">SipleDataTree</router-link>
        </li>
        <li>
          <router-link to="/home/searchtree">树搜索</router-link>
        </li>
        <li>
          <router-link to="/home/swiper">swiper使用</router-link>
        </li>
        <li>
          <router-link to="/home/scroll">滚动条样式</router-link>
        </li>
        <li>
          <router-link to="/home/drag">拖拽</router-link>
        </li>
        <li>
          <router-link to="/home/mousewheel">横向滚轮滑动</router-link>
        </li>
        <li>
          <router-link to="/dragprogress">拖拽进度条</router-link>
        </li>
        <li>
          <router-link to="/signature">电子签名</router-link>
        </li>
        <li>
          <router-link to="/home/fasttree">性能树</router-link>
        </li>
        <li>
          <router-link to="/betterscroll">betterscroll滚动</router-link>
        </li>
        <li>
          <router-link to="/recursion">vue自定义递归组件</router-link>
        </li>
      </ul>
    </div>
    <div class="main">
      <router-view />
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.home {
    height: 100%;
    display: flex;
	.left-menu {
		width: 200px;
		height: 100%;
	}
	.main {
		flex: 1;
		height: 100%;
	}
}
</style>